<?php
$config = require_once THINK_PATH.'../common/config.php';

$part_config = array(
		/*框架配置*/
		'LAYOUT_ON' => true,
		'LAYOUT_NAME' => 'layout',
		
		/*项目配置*/
		'APP_NAME' => '分销商城',
		
		/*数据库配置*/
		'DB_TYPE' => 'mysql',
                'DB_HOST' => 'rm-bp106758m58ll75ec.mysql.rds.aliyuncs.com',
                'DB_NAME' => 'fx_server',
                'DB_USER' => 'gchao',
                'DB_PWD'  => 'qianhaihb123',
		'DB_PORT' => '3306',
		'DB_CHARSET' => 'utf8',
		'DB_PREFIX' => 'fx_',
		
		/*业务级别配置参数*/
		'menus' =>array(
                array(
                    array(
                        'tip' => '分销管理',
                        'link' => 'javascript:void(0)'
                    ),
                    array(
                        'tip' => '商品分类',
                        'link' => '/cate/index'
                    ),
                    array(
                        'tip' => '商品管理',
                        'link' => '/goods/index/vid/1'
                    ),
                    array(
                        'tip' => '嗨呗银座专区',
                        'link' => '/goods/index/vid/2'
                    ),
                    array(
                        'tip' => '订单中心',
                        'link' => '/order/index'
                    ),
                    array(
                        'tip' => '售后订单',
                        'link' => '/order/index/st/refund'
                    ),
                    array(
                        'tip' => '考拉商品',
                        'link' => '/kaola/index'
                    ),
                    array(
                        'tip' => '嘉姐商品',
                        'link' => '/bjie/index'
                    )
                ),
				array(
                    array(
                        'tip' => '推广中心',
                        'link' => 'javascript:void(0)'
                    ),
                    array(
                        'tip' => '幻灯管理',
                        'link' => '/slide/index',
                    ),
                    array(
                        'tip' => '采集监测',
                        'link' => '/omg/index',
                    )
                ),

				array(

                    array(
                        'tip' => '用户中心',
                        'link' => 'javascript:void(0)'
                    ),
                    array(
                        'tip' => '用户管理',
                        'link' => '/index/index',
                    ),
                    array(
                        'tip' => '卖家审核',
                        'link' => '/saler/index',
                    )
                ),
				array(
                    array(
                        'tip' => '库存发货',
                        'link' => 'javascript:void(0)'
                    ),
//						array(
//								'tip' => '发货列表',
//								'link' => '',
//						),
                    array(
                        'tip' => '退货地址',
                        'link' => '/readdres/index',
                    )
                ),
//				array(
//						array(
//								'tip' => '财务中心',
//								'link' => 'javascript:void(0)'
//						),
//						array(
//								'tip' => '用户提现',
//								'link' => '/cash/index',
//						)
//				),
				array(
                    array(
                        'tip' => '系统管理',
                        'link' => '/config/set',
                    ),
                    array(
                        'tip' => '系统设置',
                        'link' => '/config/set'
                    ),
                    array(
                        'tip' => '缓存设置',
                        'link' => '/config/cacheset',
                    ),
                    array(
                        'tip' => '意见反馈',
                        'link' => '/sysest/index',
                    )
                ),
			),


		/*商品所属站点*/
		'FiterControl' => array(
				'dg\Controller\UserController',
				'dg\Controller\ApiController'
			),
		'icons' => array(
				'icon-briefcase','icon-list-alt','icon-user','icon-comment','icon-tasks','icon-credit-card','icon-folder-open','icon-hdd','icon-cloud','icon-cog'	
			),
		'open_cache' => false
);

$config = array_merge($config,$part_config);

return $config;
